

<div ng-controller="DemoInsideDialogCtrl as ctrl" layout="column" ng-cloak>
    <md-content class="md-padding">
        <p>
            Click the button below to open the dialog with an autocomplete.
        </p>
        <md-button ng-click="ctrl.openDialog($event)" class="md-raised">Open Dialog</md-button>
    </md-content>
</div>

